#ifndef COUNTDOWNSTATE_H_
#define COUNTDOWNSTATE_H_

#include "GameState.h"
#include "Text.h"

class CountDownState : public GameState
{
public:
    CountDownState(GameState* nextState);
    virtual ~CountDownState();

    virtual GraphicalElement* createGraphics();
    virtual void init();

    virtual GameState* update(unsigned long msSinceLastLoop);

private:
    GameState* nextState;
    Text* text;
    unsigned long time;
    int count;

    void updateText();
};

#endif
